The QuickTime VR Manager provides routines for obtaining a QTVR track and a new movie instance.
You can use the QTVRGetQTVRTrack function to get a QTVR track contained in a QuickTime movie.
Track QTVRGetQTVRTrack (Movie theMovie, SInt32 index);
The QTVRGetQTVRTrack function returns, as its function result, a track identifier for the QTVR track that has the index specified by the index parameter in the QuickTime movie specified by the theMovie parameter. If there is no such track, QTVRGetQTVRTrack returns the value nil .
You can use the QTVRGetQTVRInstance function to get an instance of a QuickTime VR movie.
OSErr QTVRGetQTVRInstance (
QTVRInstance *qtvr,
Track qtvrTrack,
MovieControllermc);
The QTVRGetQTVRInstance function returns, in the qtvr parameter, an instance of the QuickTime VR movie specified by the qtvrTrack parameter. If qtvrTrack does not specify a QTVR track, QTVRGetQTVRInstance returns nil in the qtvr parameter and an error code as its function result. You need a QuickTime VR movie instance to call most other QuickTime VR functions.